<% inside_layout 'application' do -%>
<div class="left">
	<h2>我是<%=@person.username%></h2>
	<p><%= link_to '我的网络ID', public_id_url(:username => @person.username), :id => 'webid'%> | 
	<%= link_to '我的个人简介', biography_url(:username => @person.username), :id => 'biography'%></p>
	<%= yield :layout %>
</div>

<div class="right">
	<div class="right_area">
		<h2>个人资料</h2>
		<div class="picture">
			<%= tag "img", :src => pick_portrait_image_file_url(@person.id), :alt => '我的肖像'%>
		</div>
		<% unless @person.profile.nil?%>
			<p><%= @person.profile.name%></p>
			<p><%= @person.profile.location%></p>
		<% end%>
	</div>
</div>
<% end -%>


